package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoBOConverter {

    SubjectInfoBOConverter Instance = Mappers.getMapper(SubjectInfoBOConverter.class);

    SubjectInfo BOconverterInfo(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoBO> ListEntityToBO(List<SubjectInfo> subjectInfoList);

    SubjectInfoBO EntityconverterBO(SubjectInfo subjectInfo);
}
